package pt.isec.a21210392.a21190220.ludotwist.GameLogic;

import pt.isec.a21210392.a21190220.ludotwist.R;

public class GoForwardHouse extends House 
{
	private static final long serialVersionUID = 1L;
	
	public GoForwardHouse(int number, int line, int column)
	{
		super(number, R.drawable.next, line, column);
	}
	@Override
	public int getDestiny(Pin pin, int diceResult) 
	{
		return pin.moveSimulation(this.getNumber(),diceResult);
	}
	@Override
	public void arrivedHere(Pin pin, int diceResult)
	{
		pin.moveForward(diceResult);
	}
}
